﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewCourseSchedule.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.ViewCourseSchedule" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
 <style type="text/css">
        .style4
        {
            width: 118px;
        }
        .style5
        {
            height: 21px;
        }
        .style6
        {
            width: 200Px;
            }
        #dateText
        {
            height: 17px;
            margin-bottom: 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div align="center">
<fieldset style="width: 800px; height:680px">
    <div align="center">
    <fieldset style="width: 300px; height: 200px;">
    <legend style="text-decoration: blink; color: Navy;">View Course Schedule</legend> 
    <table>
    <tr>
    <td> <asp:Label ID="Label1" runat="server" Text="Department" BackColor="White" BorderColor="Yellow" ForeColor="Blue"></asp:Label></td>
    <td class="style5"> <asp:DropDownList ID="departmentDropDownList" runat="server" AutoPostBack="True">
       </asp:DropDownList></td>
       </tr>
      
       <tr>
       <td></td>
       <td><asp:Label ID="Label3" runat="server" ForeColor="#660066" Text="Do u want Search By Semester ? "></asp:Label></td>
       </tr>
      
        <tr>
        <td><asp:Label ID="Label4" runat="server" Text="Yes"></asp:Label></td>
        <td ><asp:RadioButton ID="yesRadioButton" runat="server" AutoPostBack="True" oncheckedchanged="yesRadioButton_CheckedChanged" /></td>
        </tr><tr>
        <td> <asp:Label ID="Label5" runat="server" Text="No"></asp:Label></td>
        <td><asp:RadioButton ID="noRadioButton" runat="server" oncheckedchanged="noRadioButton_CheckedChanged" /></td>
        </tr>
        <tr>
        <td></td>
        <td class="style5"><asp:DropDownList ID="semesterDropDownList" runat="server" AutoPostBack="True"></asp:DropDownList></td>
       </tr>
       <tr>
       <td></td>
       <td class="style5"> <asp:Button ID="showButton" runat="server" onclick="showButton_Click" Text="Show" Width="63px" /></td>
       </tr>

        
 </table>
 </fieldset>
  </div>
  <div align="center">
  
  <table><tr> <td class="style5"><asp:Label ID= "viewMessageLabel" runat="server"></asp:Label></td></tr></table>
  </div>
 <div align="center">
 <fieldset style="width: 700px; height :350px;">
 <legend style="text-decoration: blink; color: Navy;">All Schedule Courses</legend>
        <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto" Height="300px" Width="500px">
        <asp:GridView ID="viewScheduleCourseGridView" runat="server" 
            AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code" />
                <asp:BoundField DataField="CourseName" HeaderText="Name" 
                    SortExpression="CourseName" />
                <asp:BoundField DataField="Credit" HeaderText="Credit" 
                    SortExpression="Credit" />
                <asp:BoundField DataField="SemesterName" HeaderText="Semester" 
                    SortExpression="SemesterName" />
                <asp:BoundField DataField="Teacher_Name" HeaderText="Assign To" 
                    SortExpression="Teacher_Name" />
                <asp:BoundField DataField="Day" HeaderText="Day" SortExpression="Day" />
                <asp:BoundField DataField="Detail_Schedule" HeaderText="Detail_Schedule" 
                    SortExpression="Detail_Schedule" />
            </Columns>
        </asp:GridView>
        </asp:Panel>
        </fieldset>
   </div>
   </fieldset>
   </div>
</asp:Content>
